import request from '@/utils/request'

// 启动
export function startPost() {
  return request({
    url: '/startpost',
    method: 'post'
  })
}

export function stopPost() {
  return request({
    url: '/stoppost',
    method: 'post'
  })
}

export function restart() {
  return request({
    url: '/restart',
    method: 'post'
  })
}

export function getAuto() {
  return request({
    url: '/getauto',
    method: 'post'
  })
}
